var mainCamera : GameObject;

private var clickScript : ClickScript;

function Start (){

	clickScript = mainCamera.gameObject.GetComponent("ClickScript");
}

function Update () {

//update text mesh with lemonCount
GetComponent(TextMesh).text = clickScript.score.ToString();

}